package common.logging;

public class Entry
{
    long created;
    Level level;
    String heading;
    long number;
    Item[] items;

    public long getCreated()
    {
        return created;
    }

    public Level getLevel()
    {
        return level;
    }

    public String getHeading()
    {
        return heading;
    }

    public long getNumber()
    {
        return number;
    }

    public Item[] getItems()
    {
        return items;
    }

    public Entry(Level level, String heading, Item[] items)
    {
        this.created = System.currentTimeMillis();
        this.level = level;
        this.items = items;
        this.heading = heading;
    }

    public void setNumber(long number)
    {
        this.number = number;
    }
}
